package com.sharemarking.wa.platform.dto.monthlyStatement;

import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @author dxy
 */
public class MonthListPageDto {
    private List<StatementListDto> list;
    private int index;
    private int size;
    private int total;
    private boolean hasNext;
    private Integer isMonthlyPay;

    public MonthListPageDto(){
        index = 0;
        size = 10;
    }

    public MonthListPageDto(List<StatementListDto> list,Integer isMonthlyPay,int index,int size,int total,boolean hasNext){
        this.list = list;
        this.index = index;
        this.size = size;
        this.total = total;
        this.hasNext = hasNext;
        this.isMonthlyPay = isMonthlyPay;
    }

    public List<StatementListDto> getList() {
        return list;
    }

    public void setList(List<StatementListDto> list) {
        this.list = list;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    public Integer getIsMonthlyPay() {
        return isMonthlyPay;
    }

    public void setIsMonthlyPay(Integer isMonthlyPay) {
        this.isMonthlyPay = isMonthlyPay;
    }
}
